<h1><%=@subscription.url.split('/')[2]%></h1>

<p id="notice"><%= notice %></p>

<p>
  <b>Url:</b>
  <%= @subscription.url %>
</p>

<p>
  <b>Hub:</b>
  <%= @subscription.hub %>
</p>

<p>
  <b>Confirmed:</b>
  <span class="<%=@subscription.confirmed ? 'true' : 'false' %>">
    <%= @subscription.confirmed %> 
  </span>
  (<%=@subscription.updated_at%>)
</p>


<%= link_to 'Edit', edit_subscription_path(@subscription) %> |
<%= link_to 'Back', subscriptions_path %> |
<%= link_to 'Subscribe', subscribe_path(@subscription.id)%> |
<%= link_to 'Unsubscribe', unsubscribe_path(@subscription.id)%>
